package com.zlm.user.emp.service;

import com.zlm.common.base.BaseService;
import com.zlm.common.entity.SysEmpAttDO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * 员工附件表service
 * @Author: duyufu
 * @Date: 2019/6/25 11:59
 */
public interface SysEmpAttService extends BaseService<SysEmpAttDO> {

    /**
     * 保存体检报告
     * @param empId
     * @param urlList
     */
    void saveHealthReport(Integer empId, String[] urlList) ;

    /**
     * 删除体检报告
     * @param empId
     * @param attId
     */
    void deleteHealthReport(Integer empId, Integer attId);

    /**
     * 查询近一年体检报告
     * @param empId
     * @return
     */
    List<SysEmpAttDO> queryHealthReport(Integer empId);
}
